package com.ml.springboot.mapper;

import com.ml.springboot.pojo.LeaveType;
import com.ml.springboot.pojo.VO.BlogCountVO;
import com.ml.springboot.pojo.VO.LeaveTypeVO;
import com.ml.springboot.pojo.query.BlogTypeQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LeaveTypeMapper {
    List<LeaveType> list(BlogTypeQuery blogQuery);

    void deleteById(Integer id);

    void add(LeaveType blog);

    LeaveType selectById(Integer id);

    void update(LeaveType blog);

    List<LeaveTypeVO> selectAll();

    List<BlogCountVO> blogCount();
}
